package com.yit.cn;

/**
 * Created by zhangyanfei on 2019/4/21.
 *
 * @author zhangyanfei
 * @date 2019/04/21
 */
public abstract class AbstractPlan {
    private SchedulingContext schedulingContext;

    public AbstractPlan(SchedulingContext schedulingContext) {
        this.schedulingContext = schedulingContext;
    }

    public abstract Pilot getPilot();

    /**
     * 执行计划需要满足的条件
     *
     * @return
     */
    public abstract boolean condition();

    public abstract String getSFCofDay();

    public abstract String getElapsedTime();
}
